<template>
  <div @click="backHome">
    <span>返回导航页</span>
  </div>
</template>

<script setup lang="ts">
import { useRouter } from 'vue-router'

const router = useRouter()
const backHome = () => {
  router.push({ name: 'Home' })
}
</script>

<style scoped lang="scss"></style>
